package com.zhizuobiao.coura.stock;

import java.util.List;

/**
 * Created by coura on 2016/12/13.
 */

public class HAStockList {

    /**
     * error_code : 0
     * reason : SUCCESSED!
     */

    private int error_code;
    private String reason;
    private ResultBean result;

    public int getError_code(){
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * totalCount : 7784
         * page : 1
         * num : 20
         */

        private String totalCount;
        private String page;
        private String num;
        private List<DataBean> data;

        public String getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(String totalCount) {
            this.totalCount = totalCount;
        }

        public String getPage() {
            return page;
        }

        public void setPage(String page) {
            this.page = page;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * cname : 苹果公司
             * category : 计算机
             * symbol : AAPL
             * price : 113.30
             * diff : -0.65
             * chg : -0.57
             * preclose : 113.95
             * open : 113.29
             * high : 115.00
             * low : 112.49
             * amplitude : 2.20%
             * volume : 26374377
             * mktcap : 603889016266
             * market : NASDAQ
             */

            private String cname;
            private String category;
            private String symbol;
            private String price;
            private String diff;
            private String chg;
            private String preclose;
            private String open;
            private String high;
            private String low;
            private String amplitude;
            private String volume;
            private String mktcap;
            private String market;

            public String getCname() {
                return cname;
            }

            public void setCname(String cname) {
                this.cname = cname;
            }

            public String getCategory() {
                return category;
            }

            public void setCategory(String category) {
                this.category = category;
            }

            public String getSymbol() {
                return symbol;
            }

            public void setSymbol(String symbol) {
                this.symbol = symbol;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getDiff() {
                return diff;
            }

            public void setDiff(String diff) {
                this.diff = diff;
            }

            public String getChg() {
                return chg;
            }

            public void setChg(String chg) {
                this.chg = chg;
            }

            public String getPreclose() {
                return preclose;
            }

            public void setPreclose(String preclose) {
                this.preclose = preclose;
            }

            public String getOpen() {
                return open;
            }

            public void setOpen(String open) {
                this.open = open;
            }

            public String getHigh() {
                return high;
            }

            public void setHigh(String high) {
                this.high = high;
            }

            public String getLow() {
                return low;
            }

            public void setLow(String low) {
                this.low = low;
            }

            public String getAmplitude() {
                return amplitude;
            }

            public void setAmplitude(String amplitude) {
                this.amplitude = amplitude;
            }

            public String getVolume() {
                return volume;
            }

            public void setVolume(String volume) {
                this.volume = volume;
            }

            public String getMktcap() {
                return mktcap;
            }

            public void setMktcap(String mktcap) {
                this.mktcap = mktcap;
            }

            public String getMarket() {
                return market;
            }

            public void setMarket(String market) {
                this.market = market;
            }
        }
    }
}
